package com.spsoft.vatoutinv.service.matchflow;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spsoft.vatoutinv.entity.matchflow.VmsMatchingDetail;
import com.spsoft.vatoutinv.model.vo.vmstransactionflowinvoice.VmsTransactionFlowInvoicePageVo;

/**
 * <p>
 * 手工匹配流水详细表 服务类
 * </p>
 *
 * @author chenxudong
 * @since 2024-06-25
 */
public interface VmsMatchingDetailService extends IService<VmsMatchingDetail> {

    /**
     * 根据发票明细查询已匹配的交易流水-分页查询
     * @param page 分页参数
     * @param matid 手工匹配流水表id
     * @param iviid 发票明细id
     */
    IPage<VmsTransactionFlowInvoicePageVo> queryFlowByItem(Page<VmsTransactionFlowInvoicePageVo> page, Long matid, Long iviid);

}
